feat(i18n): add Persian (فارسی) language support - #464
Open
ArTimnak wants to merge 1 commit into
Open
Conversation
ArTimnak
marked this pull request as draft
July 4, 2026 14:05
ArTimnak
force-pushed
the
feat/add-persian-language
branch
from
July 4, 2026 14:06
329e843 to
7399c0d
Compare
ArTimnak
marked this pull request as ready for review
July 4, 2026 14:07
Owner
|
Thanks for starting this. Two blockers: (1) fa.json currently has about 437 leaf keys vs 507 in en.json, so roughly 70 strings would render untranslated; the description says 1:1 but it isn't yet. (2) Persian is RTL and the dashboard has no RTL support today, so the locale would render Persian text in LTR layouts. If you want to take it further: fill the missing keys, and we'd need at minimum dir=rtl applied when fa is active plus a pass over the main layouts. If you're up for it, let's scope the RTL piece in an issue first so the translation work doesn't sit blocked. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add Persian (فارسی / Farsi) language support to the dashboard UI.
This PR adds complete translation coverage for all UI sections, and registers the new locale in the i18n provider while keeping all existing functionality intact.
Changes
Just two files changed:
client/src/i18n/locales/fa.jsonclient/src/i18n/I18nProvider.tsxFor reviewers
Testing
The PR was developed and tested locally following the project's CONTRIBUTING.md guidelines. Verified that:
Repro is simply changing your browser language to Persian or using
setLocale('fa')via the provider.